import GoodSearch from '../pages/goodSearch/goodSearch'
import GoodSearchSort from '../pages/goodSearch/goodSearchSort'
import { createStackNavigator } from '@react-navigation/stack'

const stack = createStackNavigator()
export default function GoodSearchWrap() {
  return (
    <stack.Navigator
      initialRouteName="GoodSearch"
      screenOptions={{ headerShown: false }}
    >
      <stack.Screen name="GoodSearch" component={GoodSearch} />
      <stack.Screen
        name="GoodSearchSort"
        component={GoodSearchSort}
        options={{
          cardStyle: { backgroundColor: 'transparent' },
          presentation: 'transparentModal',
          cardOverlayEnabled: false,
        }}
      />
    </stack.Navigator>
  )
}
